#include "StdAfx.h"
#include "ServerWriteStrategy.h"
#include "RdcTransport.h"

void rdc_transport::ServerWriteStrategy::SetInternalWriter(IVirtChannel* internalWriter)
{
    m_Writer = internalWriter;
}

rdc_transport::ServerWriteStrategy::ServerWriteStrategy()
: m_Writer(NULL)
{
}

void rdc_transport::ServerWriteStrategy::Write(Buffer* pBuffer)
{
    m_Writer->Write(pBuffer);
}